
dist: bionic
sudo: required
language: cpp

script:
 - (CXXFLAGS=-O3 scons -k)

matrix:
  include:
   - os: linux
     addons:
       apt:
         sources:
           - ubuntu-toolchain-r-test
         packages:
           - g++-10
     env:
       - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"

before_install:
    - sudo apt-get install scons
    - eval "${MATRIX_EVAL}"
